3.14 \(\int \frac{\left (A+B x^2\right ) \left (b x^2+c x^4\right )^2}{x^2} \, dx\)

Optimal. Leaf size=55 \[ \frac{1}{3} A b^2 x^3+\frac{1}{7} c x^7 (A c+2 b B)+\frac{1}{5} b x^5 (2 A c+b B)+\frac{1}{9} B c^2 x^9 \]

[Out]

(A*b^2*x^3)/3 + (b*(b*B + 2*A*c)*x^5)/5 + (c*(2*b*B + A*c)*x^7)/7 + (B*c^2*x^9)/
9

_______________________________________________________________________________________

Rubi [A]  time = 0.12532, antiderivative size = 55, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083 \[ \frac{1}{3} A b^2 x^3+\frac{1}{7} c x^7 (A c+2 b B)+\frac{1}{5} b x^5 (2 A c+b B)+\frac{1}{9} B c^2 x^9 \]

Antiderivative was successfully verified.

[In]  Int[((A + B*x^2)*(b*x^2 + c*x^4)^2)/x^2,x]

[Out]

(A*b^2*x^3)/3 + (b*(b*B + 2*A*c)*x^5)/5 + (c*(2*b*B + A*c)*x^7)/7 + (B*c^2*x^9)/
9

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 17.1747, size = 49, normalized size = 0.89 \[ \frac{A b^{2} x^{3}}{3} + \frac{B c^{2} x^{9}}{9} + \frac{b x^{5} \left (2 A c + B b\right )}{5} + \frac{c x^{7} \left (A c + 2 B b\right )}{7} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((B*x**2+A)*(c*x**4+b*x**2)**2/x**2,x)

[Out]

A*b**2*x**3/3 + B*c**2*x**9/9 + b*x**5*(2*A*c + B*b)/5 + c*x**7*(A*c + 2*B*b)/7

_______________________________________________________________________________________

Mathematica [A]  time = 0.0168097, size = 55, normalized size = 1. \[ \frac{1}{3} A b^2 x^3+\frac{1}{7} c x^7 (A c+2 b B)+\frac{1}{5} b x^5 (2 A c+b B)+\frac{1}{9} B c^2 x^9 \]

Antiderivative was successfully verified.

[In]  Integrate[((A + B*x^2)*(b*x^2 + c*x^4)^2)/x^2,x]

[Out]

(A*b^2*x^3)/3 + (b*(b*B + 2*A*c)*x^5)/5 + (c*(2*b*B + A*c)*x^7)/7 + (B*c^2*x^9)/
9

_______________________________________________________________________________________

Maple [A]  time = 0.002, size = 52, normalized size = 1. \[{\frac{B{c}^{2}{x}^{9}}{9}}+{\frac{ \left ( A{c}^{2}+2\,Bbc \right ){x}^{7}}{7}}+{\frac{ \left ( 2\,Abc+{b}^{2}B \right ){x}^{5}}{5}}+{\frac{A{b}^{2}{x}^{3}}{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((B*x^2+A)*(c*x^4+b*x^2)^2/x^2,x)

[Out]

1/9*B*c^2*x^9+1/7*(A*c^2+2*B*b*c)*x^7+1/5*(2*A*b*c+B*b^2)*x^5+1/3*A*b^2*x^3

_______________________________________________________________________________________

Maxima [A]  time = 1.37039, size = 69, normalized size = 1.25 \[ \frac{1}{9} \, B c^{2} x^{9} + \frac{1}{7} \,{\left (2 \, B b c + A c^{2}\right )} x^{7} + \frac{1}{3} \, A b^{2} x^{3} + \frac{1}{5} \,{\left (B b^{2} + 2 \, A b c\right )} x^{5} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^4 + b*x^2)^2*(B*x^2 + A)/x^2,x, algorithm="maxima")

[Out]

1/9*B*c^2*x^9 + 1/7*(2*B*b*c + A*c^2)*x^7 + 1/3*A*b^2*x^3 + 1/5*(B*b^2 + 2*A*b*c
)*x^5

_______________________________________________________________________________________

Fricas [A]  time = 0.222038, size = 69, normalized size = 1.25 \[ \frac{1}{9} \, B c^{2} x^{9} + \frac{1}{7} \,{\left (2 \, B b c + A c^{2}\right )} x^{7} + \frac{1}{3} \, A b^{2} x^{3} + \frac{1}{5} \,{\left (B b^{2} + 2 \, A b c\right )} x^{5} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^4 + b*x^2)^2*(B*x^2 + A)/x^2,x, algorithm="fricas")

[Out]

1/9*B*c^2*x^9 + 1/7*(2*B*b*c + A*c^2)*x^7 + 1/3*A*b^2*x^3 + 1/5*(B*b^2 + 2*A*b*c
)*x^5

_______________________________________________________________________________________

Sympy [A]  time = 0.059091, size = 56, normalized size = 1.02 \[ \frac{A b^{2} x^{3}}{3} + \frac{B c^{2} x^{9}}{9} + x^{7} \left (\frac{A c^{2}}{7} + \frac{2 B b c}{7}\right ) + x^{5} \left (\frac{2 A b c}{5} + \frac{B b^{2}}{5}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((B*x**2+A)*(c*x**4+b*x**2)**2/x**2,x)

[Out]

A*b**2*x**3/3 + B*c**2*x**9/9 + x**7*(A*c**2/7 + 2*B*b*c/7) + x**5*(2*A*b*c/5 +
B*b**2/5)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.206839, size = 72, normalized size = 1.31 \[ \frac{1}{9} \, B c^{2} x^{9} + \frac{2}{7} \, B b c x^{7} + \frac{1}{7} \, A c^{2} x^{7} + \frac{1}{5} \, B b^{2} x^{5} + \frac{2}{5} \, A b c x^{5} + \frac{1}{3} \, A b^{2} x^{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((c*x^4 + b*x^2)^2*(B*x^2 + A)/x^2,x, algorithm="giac")

[Out]

1/9*B*c^2*x^9 + 2/7*B*b*c*x^7 + 1/7*A*c^2*x^7 + 1/5*B*b^2*x^5 + 2/5*A*b*c*x^5 +
1/3*A*b^2*x^3